package cn.flying.cloud.tool.ops.redis;

import java.io.Serializable;

/**
 * @author: admin
 * @date: 2025年04月01日 23:18
 * @version: 1.0
 */
public class CacheVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String key;

    private Object value;

    private String dataType;


    public CacheVo(String key, Object value, String dataType) {
        this.key = key;
        this.value = value;
        this.dataType = dataType;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }
}
